package com.mali.malibackendmodel.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 服务
 * @TableName service
 */
@TableName(value ="server")
@Data
public class Server implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private Long productId;

    private String company;

    private String phoneNumber;

    private String productServer;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    private static final long serialVersionUID = 1L;
}